////////////////////////////////////////////////////////////////////////////////
// Copyright 2007 CORE Solutions Limited
// All rights reserved.
// PROPRIETARY AND CONFIDENTIAL INFORMATION.
// Use is subject to license terms.
//
// FUNCTION ID      :   POPUP_CATALOG_TREE
// AUTHOR           :   Saint Peng 
// DATE CREATE      :   2007/04/05
// DESCRIPTION      :   a CRITERIA file for the function, POPUP_CATALOG_TREE
//                  :   
//                  :   
//                  :   
//
// MODIFICATION HISTORY:
// DATE         AUTHOR          VERSION NO.         COMMENT
// -----------  --------------  ------------------  -------------------
// 2007/04/05   Saint Peng      1.0                 source is generated.
//
//
//
////////////////////////////////////////////////////////////////////////////////

package com.erp.app.catalog.catalogTreePopup.criteria;

import java.math.BigDecimal;
import java.sql.Date;
import java.sql.Timestamp;
import com.erp.framework.model.criteria.SimplePageEditStyleSrchCriteria;

/**
* <p>A <strong>SrchCriteria</strong>
* getter and setter methods for all of the bean properties, and implements
* <code>Serializable</code>, as required by the JavaBean specification
* The main purpose for this bean is to store the user search criteria input
* for database query.
*
* @author          Saint Peng 
* @version 1.0     2007/04/05
* @since           FrameWork 1.0
*
*/

// Note:
// Currently only generates the first 5 fields of a table
// However, this number can be set in GenConstants.NO_CRITERIA

public class PopupCatalogTreeSrchCriteria extends SimplePageEditStyleSrchCriteria {

	//Searching Criteria Attributes (DB Table Name: T_POPUP_CATALOG_TREE)
	private String srchCompanyCode;                  //DB Column Name: COMPANY_CODE
	private String srchHdrStatus;                    //DB Column Name: STATUS
	private String srchNodeIdFr;                     //DB Column Name: NODE_ID
	private String srchNodeIdTo;                     //DB Column Name: NODE_ID
	private String srchDescriptionFr;                //DB Column Name: DESCRIPTION
	private String srchDescriptionTo;                //DB Column Name: DESCRIPTION
	private String srchCatalogLevelFr;               //DB Column Name: CATALOG_LEVEL
	private String srchCatalogLevelTo;               //DB Column Name: CATALOG_LEVEL
	private String srchCreateCompanyCodeFr;          //DB Column Name: CREATE_COMPANY_CODE
	private String srchCreateCompanyCodeTo;          //DB Column Name: CREATE_COMPANY_CODE
	private String srchWaterMarkFr;                  //DB Column Name: WATER_MARK
	private String srchWaterMarkTo;                  //DB Column Name: WATER_MARK

	/**
	* Converts to a string representing the data in this object.
	* A new <code>String</code> object is allocated and initialized to 
	* contain the character sequence currently represented by this 
	* object. This <code>String</code> is then returned. Subsequent 
	* changes to this object do not affect the contents of the 
	* <code>String</code>. 
	*
	* @return     a string representation of the object.
	* @see        java.lang.Object#toString()
	* @author     Saint Peng 
	* @since      Framework 1.0
	*/
	public String toString() {
		String pkStr = "PK: {srchNodeIdFr = " + this.srchNodeIdFr
			+ "\n, srchNodeIdTo = " + this.srchNodeIdTo + "}\n";

		String colStr = "COL: {srchDescriptionFr = " + this.srchDescriptionFr
			+ "\n, srchDescriptionTo = " + this.srchDescriptionTo
			+ "\n, srchCatalogLevelFr = " + this.srchCatalogLevelFr
			+ "\n, srchCatalogLevelTo = " + this.srchCatalogLevelTo
			+ "\n, srchCreateCompanyCodeFr = " + this.srchCreateCompanyCodeFr
			+ "\n, srchCreateCompanyCodeTo = " + this.srchCreateCompanyCodeTo
			+ "\n, srchWaterMarkFr = " + this.srchWaterMarkFr
			+ "\n, srchWaterMarkTo = " + this.srchWaterMarkTo + "}\n";

		String mandatoryStr = "{srchCompanyCode = " + this.srchCompanyCode
			+ "\n, srchHdrStatus = " + this.srchHdrStatus
			+ "}\n";

		return "toString() is:\n" + mandatoryStr + pkStr + colStr;
	}

	////////////////////////////////////////////////////////////////////////////////
	//Generated Accessors (get/set methods) for searching criterias
	////////////////////////////////////////////////////////////////////////////////

	public String getSrchCompanyCode() {
		return this.srchCompanyCode;
	}

	public String getSrchHdrStatus() {
		return this.srchHdrStatus;
	}

	public String getSrchNodeIdFr() {
		return this.srchNodeIdFr;
	}

	public String getSrchNodeIdTo() {
		return this.srchNodeIdTo;
	}

	public String getSrchDescriptionFr() {
		return this.srchDescriptionFr;
	}

	public String getSrchDescriptionTo() {
		return this.srchDescriptionTo;
	}

	public String getSrchCatalogLevelFr() {
		return this.srchCatalogLevelFr;
	}

	public String getSrchCatalogLevelTo() {
		return this.srchCatalogLevelTo;
	}

	public String getSrchCreateCompanyCodeFr() {
		return this.srchCreateCompanyCodeFr;
	}

	public String getSrchCreateCompanyCodeTo() {
		return this.srchCreateCompanyCodeTo;
	}

	public String getSrchWaterMarkFr() {
		return this.srchWaterMarkFr;
	}

	public String getSrchWaterMarkTo() {
		return this.srchWaterMarkTo;
	}

	public void setSrchCompanyCode(String srchCompanyCode) {
		this.srchCompanyCode = srchCompanyCode;
	}

	public void setSrchHdrStatus(String srchHdrStatus) {
		this.srchHdrStatus = srchHdrStatus;
	}

	public void setSrchNodeIdFr(String srchNodeIdFr) {
		this.srchNodeIdFr = srchNodeIdFr;
	}

	public void setSrchNodeIdTo(String srchNodeIdTo) {
		this.srchNodeIdTo = srchNodeIdTo;
	}

	public void setSrchDescriptionFr(String srchDescriptionFr) {
		this.srchDescriptionFr = srchDescriptionFr;
	}

	public void setSrchDescriptionTo(String srchDescriptionTo) {
		this.srchDescriptionTo = srchDescriptionTo;
	}

	public void setSrchCatalogLevelFr(String srchCatalogLevelFr) {
		this.srchCatalogLevelFr = srchCatalogLevelFr;
	}

	public void setSrchCatalogLevelTo(String srchCatalogLevelTo) {
		this.srchCatalogLevelTo = srchCatalogLevelTo;
	}

	public void setSrchCreateCompanyCodeFr(String srchCreateCompanyCodeFr) {
		this.srchCreateCompanyCodeFr = srchCreateCompanyCodeFr;
	}

	public void setSrchCreateCompanyCodeTo(String srchCreateCompanyCodeTo) {
		this.srchCreateCompanyCodeTo = srchCreateCompanyCodeTo;
	}

	public void setSrchWaterMarkFr(String srchWaterMarkFr) {
		this.srchWaterMarkFr = srchWaterMarkFr;
	}

	public void setSrchWaterMarkTo(String srchWaterMarkTo) {
		this.srchWaterMarkTo = srchWaterMarkTo;
	}

}
